package chap04;

public class TestApp {

	public static void main(String[] args) {
		 
		        int[] myarray={10, 11, 12, 13, 14 };
		        int sum = 0;
		        for (int x : myarray)
		            sum += x;
		        System.out.println("sum=" + sum);
	
	}
}
